package org.shiwen.week9.answer.q4;

public class Test {
    public static void main(String[] args) {
        Developer d = new Developer();

        Vehicle vehicle[] = new Vehicle[3];
        vehicle[0] = new Bicycle("捷安特","红");
        vehicle[1] = new Car("奔驰","黑","粤A12345");
        vehicle[2] = new ElectricVehicle("雅迪","白");

        for(int i = 0;i < vehicle.length;i++){
            d.takingVehicle(vehicle[i]);
        }
    }
}
